<ion-view cache-view="false" title="商品评论" hide-back-button="true">
  <ion-nav-buttons side="left">
    <button class="button button-clear" ng-click="vm.goBack()">
      <i class="icon ion-chevron-left"></i>
    </button>
  </ion-nav-buttons>
  <ion-content>
    <ion-list>
      <ion-item class="item item-avatar" ng-repeat="item in vm.comments">
        <img ng-src="{{item.user.headimg? item.user.headimg : 'img/hd/pic_tx_b.png'}}">
        <h2>
          <span style="float: right">{{item.user.name}}</span>
          <span style="float: left; line-height: 30px">
            <rating max="5" ng-model="item.score" readonly="true"></rating>
          </span>
        </h2>
        <p>{{item.comment}}</p>
      </ion-item>
    </ion-list>
  </ion-content>
</ion-view>
